package com.aerfafish.spider.utils;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * @author aerfafish
 * @date 2020/12/17 5:17 下午
 */
public class ThreadUtil {

    private final static Logger logger = LoggerFactory.getLogger(ThreadUtil.class);

    public static void sleep(Long time) {
        try {
            Thread.sleep(time);
        } catch (InterruptedException e) {
            logger.error("", e);
        }
    }
}
